<template>
  <section class="main">
    <!-- 全选反选按钮 -->
    <input id="toggle-all" class="toggle-all" type="checkbox" />
    <label for="toggle-all">Mark all as complete</label>
    <ul class="todo-list">
      <ItemT
        v-for="it in todoList"
        :key="it.id"
        :todo="it"
      />
    </ul>
  </section>
</template>

<script>
import ItemT from "./ItemT.vue";
export default {
  name: "ListT",
  components: { ItemT },
  props: {
    todoList: {
      type: Array,
      require: true,
    },
    
  },
  data() {
    return {};
  },
  computed: {},
  watch: {},
  created() {},
  methods: {},
};
</script>

<style scoped></style>
